From patchwork Sat Feb 17 19:14:09 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: simone.p.weiss@posteo.com X-Patchwork-Id: 773907 Received: from mout01.posteo.de (mout01.posteo.de [185.67.36.65]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D843F6D1D3 for ; Sat, 17 Feb 2024 19:15:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.67.36.65 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708197309; cv=none; b=LXlSfpa7kzGwemR0LmeohvRg4mhD/n+JtPHWX62BTvrnTqz5oUcN+LJE5q32/mUFrifYYjfhWhDVuMnAPXs2xS2obB+Ol+CMk7soWlSbaFgL/9WaclvYo1eodRjUmb56+3muZLxoxjlSQg7iTJ+UxaRrb4TzlOapK4GLbS+ZmdU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708197309; c=relaxed/simple; bh=97GzY2MpYnhzs/TpdBzuVKn6grrjLW2AuK2phabz9FA=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version:Content-Type; b=M0MXXZFjutQ52HTU5zpr7sK4IjZD+DbY3lmj6q+D0dgkIX9o+iDInfaMeGlYRtePWj+ZE5kTpUBa+APBb+uLMDpymgbB9WvU8psH62ygC/NHwl9kdcShZGtezulIl5ai9M8aSTiTZNysnWDGVkQ5/fZHAAl4mFCP0Okr3WuB7pw= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=posteo.com; spf=pass smtp.mailfrom=posteo.com; dkim=pass (2048-bit key) header.d=posteo.com header.i=@posteo.com header.b=c7T9tjPa; arc=none smtp.client-ip=185.67.36.65 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=posteo.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=posteo.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=posteo.com header.i=@posteo.com header.b="c7T9tjPa" Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id B068C240027 for ; Sat, 17 Feb 2024 20:14:58 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.com; s=2017; t=1708197298; bh=97GzY2MpYnhzs/TpdBzuVKn6grrjLW2AuK2phabz9FA=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version:Content-Type: Content-Transfer-Encoding:From; b=c7T9tjPav+Yq6smuvZvFbwjFn7QuhRtVH/0fTbR/y7hVpC2Y+KYs0A6tI7ZsfDSXi pxXUfFdGCH87uKLdIubEx/z8ZWfDD6sD3R6KuQ3KUQH0/zTwuGCVA5zO4j7slV84SY iT+KEH00hpckNOtaNIS6GV8mc3ZPrHO4yiVcELeembVJaD1NVNIXcxgeTV7Gf9Dzuo pASg3gFGzwcRu+yBiofVIgQ03o3TmiYkci8WBxLineS5AMZcyOI2YoiUIj2w/0yZ+g kvw5ZBMm4ORSBbj8VqeygcdjoR04IcThBu+9ntI857aY1rjg/uf36/pQbofALknpMY +AgsPBDm5cZ1A== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Tcdm11vyyz9rxD; Sat, 17 Feb 2024 20:14:57 +0100 (CET) From: simone.p.weiss@posteo.com To: Anil Gurumurthy , Sudarsana Kalluru , "James E . J . Bottomley" , "Martin K . Petersen" , linux-scsi@vger.kernel.org Cc: linux-kernel@vger.kernel.org, =?utf-8?q?Simone_Wei=C3=9F?= Subject: [PATCH] scsi: bfa: Remove further unnecessary struct declaration Date: Sat, 17 Feb 2024 19:14:09 +0000 Message-Id: <20240217191409.6260-1-simone.p.weiss@posteo.com> Precedence: bulk X-Mailing-List: linux-scsi@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: Simone Weiß With Commit c3b0d087763f9833 ("scsi: bfa: Remove unnecessary struct declarations") duplicated struct declarions for struct bfa_fcs_s and struct bfa_fcs_fabric_s where already removed. There are further duplications: - struct bfad_vf_s is declared in line 165 remove the duplication in line 834. - struct bfad_rport_s is declared in line 394 remove the duplication in line 836. Signed-off-by: Simone Weiß --- drivers/scsi/bfa/bfa_fcs.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/scsi/bfa/bfa_fcs.h b/drivers/scsi/bfa/bfa_fcs.h index c1baf5cd0d3e..4d8bd9f932f6 100644 --- a/drivers/scsi/bfa/bfa_fcs.h +++ b/drivers/scsi/bfa/bfa_fcs.h @@ -831,9 +831,7 @@ void bfa_fcs_fabric_sm_auth_failed(struct bfa_fcs_fabric_s *fabric, */ struct bfad_port_s; -struct bfad_vf_s; struct bfad_vport_s; -struct bfad_rport_s; /* * lport callbacks