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: 202679 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:693c:2685:b0:108:e6aa:91d0 with SMTP id mn5csp472718dyc; Sat, 17 Feb 2024 11:15:56 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUlLSb+GLvilGbmgj5UxyUhvQSv5KPjLj9d/qhnYBdhoTl68UicZIda0LKbzb6CAJ1JoJHIygHe+JWROZNZeloWcY1p1w== X-Google-Smtp-Source: AGHT+IF+o8JMt703gRUwm2pOEa+LbTex2ThVLQPMfAuCQ6hw1e67yKIchNMyoyHt8cwr3dvECrD1 X-Received: by 2002:a81:4e06:0:b0:5f8:c3a:6989 with SMTP id c6-20020a814e06000000b005f80c3a6989mr8310818ywb.34.1708197356701; Sat, 17 Feb 2024 11:15:56 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708197356; cv=pass; d=google.com; s=arc-20160816; b=HCocE9pY8xDeJjO0dtuq6r0v2HuFM5e4YFhN1Vfep7iUynFkUYxqG/jTmU/hA4aMqY WqtYd/84ETEfiR9M4AZGn7G5B102iRvfTw9+uTrp5SNaOfDbdRfZX9HbQuEKq6J+oXyx NSpnKtc1odRFVx2283j9W1M3e5OnA0O36Vjwfhh6jk4HbUON94AZnTRpmhoCmvTAgAlP H3abIxMGJgfyDQBROcWztAQF+ZDRg4LfQ4Ton35PooW3t/GGjxPQ1AkD+S5amMnoKufD vMTLn4bIntfZgIs+se4ynrrXhZBSJCWaGjSd68eQzj3Tj280g+kjGOXgFkoqSe3e7I+6 4cug== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=YULUseyQ2c1TbyoYmp44TPMsBOOn8kTM3TYN0MAsLkg=; fh=jEn7RpX0qD2gwy/K5gRT2ZUpKHapB+yNNYmTWG6Qaq0=; b=VAHYhwMS4Dql80N43JCIaAe0B+IYQo1ccNkxV+9uf5p/1GWHJx77cDEKaiTwBgmDCl D57lIb10509j7Hf/+lOelM16XR1Z0ps1irg/TA8kSEJkpYLo1JuCWQ4NlRplsTWBFEwx +izIRfFiYBbN7ic5t84KILTfXtHKk8dNMT5JqNLIAW9wGXM/Wxa5BI2qvNOidTnHzXxg PZ7eJLtfIMZX11L9iFMvERa8rFli8jv7wMmxEWK8alckylW82ag7Jz/ty1/NHTWG8x6m HckR0zJd8h8Erq2lnS8NwYk09/9NAdBO3+ZKlUWNllGkxnnsfEx/56szKq6nmpbRq82X CJjg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@posteo.com header.s=2017 header.b=c7T9tjPa; arc=pass (i=1 spf=pass spfdomain=posteo.com dkim=pass dkdomain=posteo.com dmarc=pass fromdomain=posteo.com); spf=pass (google.com: domain of linux-kernel+bounces-70030-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-70030-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=posteo.com Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id h14-20020a05620a13ee00b0078753bb0947si1526524qkl.189.2024.02.17.11.15.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 17 Feb 2024 11:15:56 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-70030-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@posteo.com header.s=2017 header.b=c7T9tjPa; arc=pass (i=1 spf=pass spfdomain=posteo.com dkim=pass dkdomain=posteo.com dmarc=pass fromdomain=posteo.com); spf=pass (google.com: domain of linux-kernel+bounces-70030-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-70030-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=posteo.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id D7F3E1C2304A for ; Sat, 17 Feb 2024 19:15:24 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9F9AA7E586; Sat, 17 Feb 2024 19:15:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=posteo.com header.i=@posteo.com header.b="c7T9tjPa" Received: from mout02.posteo.de (mout02.posteo.de [185.67.36.66]) (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 C5B4A7E107 for ; Sat, 17 Feb 2024 19:15:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.67.36.66 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708197310; cv=none; b=LEVRs/w2S8OgNui7M7tsXg7NPfwZRZh7zQi3HxZEeZbiUyvsql3JrafoYf5eI4cAwn6GqOZBxA9hcdQRMiWLzpS10cf2D87c4DjyUK26WpDaLjFZ4FhcKoujbIg+WCaPMLCXPNTeJJal5fiP6WizNULx0PjyNdT9ySM0qmZYp/s= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708197310; c=relaxed/simple; bh=97GzY2MpYnhzs/TpdBzuVKn6grrjLW2AuK2phabz9FA=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version:Content-Type; b=AEA+FezgmI56Q8cukls5UofDacL3PJmAYyhkIUa0Eentqe881xFeMRd5GNQRKx0ka1yKGZeVpQM/uDjthMAE4mRPKTrjmVBJlT7TG/2OaxCZ8Cdo2jutY7ZQVDplWftY8R857Sw8FsiCAOdQCucwbZ5BUcagx9NhqpBWd7AcwNg= 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.66 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 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 609FC240103 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-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791174751497452300 X-GMAIL-MSGID: 1791174751497452300 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