From patchwork Tue Oct 31 18:03:13 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bart Van Assche X-Patchwork-Id: 10035075 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id A651660327 for ; Tue, 31 Oct 2017 18:03:31 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9E4202851D for ; Tue, 31 Oct 2017 18:03:31 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 933342884E; Tue, 31 Oct 2017 18:03:31 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 434662851D for ; Tue, 31 Oct 2017 18:03:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932641AbdJaSDa (ORCPT ); Tue, 31 Oct 2017 14:03:30 -0400 Received: from esa4.hgst.iphmx.com ([216.71.154.42]:49581 "EHLO esa4.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932644AbdJaSD0 (ORCPT ); Tue, 31 Oct 2017 14:03:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=wdc.com; i=@wdc.com; q=dns/txt; s=dkim.wdc.com; t=1509473006; x=1541009006; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version; bh=5jmucOrRM8kO+ibLVlMcKOdL8p5G9Ls9lO9vTwxtqOU=; b=ksznHWnqiCBfv988zJspBpO4WoWxEdHzTdBuneNLKg5v6kB56TAphR0T Ex373OlxJLoOYWjAMTVuYH63Yq5Q+F2N06fi/oy2Loy5rTm8V+purhJGm NpdhNRcrMLNi5e+Hh/VitGjG7moZ3FhXjGU9o0vJjRn7nOzPrtrRYam9J IVltqv3158LXsQT/XNaSy2CeUkqz4vDOWRgJghW1RboQ1siekwUXiVazC 9iotTEnCT8Lu13p8bspi1hL0c9UvMd50HXkIWVv30PKqfuetqYZVRwbI0 Vqs+9UkMRn8iyO5FmfirtvxUIFzgCQcJcpyE3we07Yc7O8/P+eltOVt0E w==; X-IronPort-AV: E=Sophos;i="5.44,325,1505750400"; d="scan'208";a="60328633" Received: from h199-255-45-15.hgst.com (HELO uls-op-cesaep02.wdc.com) ([199.255.45.15]) by ob1.hgst.iphmx.com with ESMTP; 01 Nov 2017 02:03:23 +0800 Received: from uls-op-cesaip02.wdc.com ([10.248.3.37]) by uls-op-cesaep02.wdc.com with ESMTP; 31 Oct 2017 11:01:08 -0700 Received: from unknown (HELO MILHUBIP03.sdcorp.global.sandisk.com) ([10.177.9.96]) by uls-op-cesaip02.wdc.com with ESMTP; 31 Oct 2017 11:03:24 -0700 Received: from milsmgip12.sandisk.com (10.177.9.6) by MILHUBIP03.sdcorp.global.sandisk.com (10.177.9.96) with Microsoft SMTP Server id 14.3.319.2; Tue, 31 Oct 2017 11:03:23 -0700 X-AuditID: 0ab1095a-d99e3980000146e4-50-59f8baea896f Received: from thinkpad-bart.int.fusionio.com ( [10.177.8.100]) by (Symantec Messaging Gateway) with SMTP id 3A.A9.18148.AEAB8F95; Tue, 31 Oct 2017 11:03:22 -0700 (PDT) From: Bart Van Assche To: "Martin K . Petersen" , "James E . J . Bottomley" CC: Nicholas Bellinger , Christoph Hellwig , , Bart Van Assche , Bart Van Assche , Hannes Reinecke , Mike Christie Subject: [PATCH 05/11] target/iscsi: Define OFFLOAD_BUF_SIZE once Date: Tue, 31 Oct 2017 11:03:13 -0700 Message-ID: <20171031180319.19258-6-bart.vanassche@wdc.com> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20171031180319.19258-1-bart.vanassche@wdc.com> References: <20171031180319.19258-1-bart.vanassche@wdc.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrLJMWRmVeSWpSXmKPExsXCtZEjRffVrh+RBvfeG1oc/NnGaHHpzxdG iwVv9rJZrFx9lMli1cQ8i+XH/zFZrD+ygdGibfUZRovWpW+ZHDg97m8/wuTx4NBmFo/dNxvY PD4+vcXi8X7fVTaPaWvOM3ms33KVxePzJjmP9gPdTAGcUVw2Kak5mWWpRfp2CVwZL27tZyvo 5ah4MmMjawNjE3sXIyeHhICJxMzvexm7GLk4hARWM0pM+b2TFSTBJqAncWrePiYQW0QgV+LU wxtMIEXMAlOYJBYuOgpWJCzgKPH+z2RGEJtFQFXixcNtQDYHB6+AtcT+3jCIBfIS7xfcByvh FLCReNuzmwXEFgIqubZ3CfMERu4FjAyrGMVyM3OKc9MzCwyN9IoT81Iyi7P1kvNzNzGCA4wz agfj9YnmhxiZODilGhin9bm7FU7LPpF287Tw+y3d/x+8r9h2YcVuj9NVa4KkPiRF5b9l3ha0 r81AhzO4ji3eznRzV/23+Igpjxq+c3sdXSpX37/DlfOWq56O9pJcieXB0xTurgjl/WYk/L3u yEmhZQIbTy9yDMm+sJM39HNTTu9z8WdT2xUeV4U/TWaIdeI+W+LXIKPEUpyRaKjFXFScCAA3 iAhh4AEAAA== MIME-Version: 1.0 Sender: target-devel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: target-devel@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The constant OFFLOAD_BUF_SIZE is defined twice - once in iscsi_target_seq_pdu_list.c and once in iscsi_target_erl1.c. Since that constant is not used in the former source file, remove its definition from that source file. Signed-off-by: Bart Van Assche Cc: Nicholas Bellinger Cc: Christoph Hellwig Cc: Hannes Reinecke Cc: Mike Christie Reviewed-by: Hannes Reinecke --- drivers/target/iscsi/iscsi_target_seq_pdu_list.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/target/iscsi/iscsi_target_seq_pdu_list.c b/drivers/target/iscsi/iscsi_target_seq_pdu_list.c index e446a09c886b..f65e5e584212 100644 --- a/drivers/target/iscsi/iscsi_target_seq_pdu_list.c +++ b/drivers/target/iscsi/iscsi_target_seq_pdu_list.c @@ -25,8 +25,6 @@ #include "iscsi_target_tpg.h" #include "iscsi_target_seq_pdu_list.h" -#define OFFLOAD_BUF_SIZE 32768 - #ifdef DEBUG static void iscsit_dump_seq_list(struct iscsi_cmd *cmd) {