From: "Dr. David Alan Gilbert" <linux@treblig.org>
To: linuxdrivers@attotech.com, James.Bottomley@hansenpartnership.com,
martin.petersen@oracle.com
Cc: linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] scsi: esas2r: Remove unused esas2r_build_cli_req
Date: Sat, 2 Nov 2024 22:09:10 +0000 [thread overview]
Message-ID: <ZyajBhCcMv865wLZ@gallifrey> (raw)
In-Reply-To: <20241102220336.80541-1-linux@treblig.org>
FYI: Bradley Groves, the driver maintainer's email server didn't like the patch with:
Action: failed
Final-Recipient: rfc822;linuxdrivers@attotech.com
Status: 5.0.0
Remote-MTA: dns; mx-01-us-west-2.prod.hydra.sophos.com
Diagnostic-Code: smtp; 550 5.7.1 XGEMAIL_0011 Command rejected
Shrug,
Dave
* linux@treblig.org (linux@treblig.org) wrote:
> From: "Dr. David Alan Gilbert" <linux@treblig.org>
>
> esas2r_build_cli_req() has been unused since it was added
> in 2013 by
> commit 26780d9e12ed ("[SCSI] esas2r: ATTO Technology ExpressSAS 6G SAS/SATA
> RAID Adapter Driver")
>
> Remove it.
>
> Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
> ---
> drivers/scsi/esas2r/esas2r.h | 4 ----
> drivers/scsi/esas2r/esas2r_vda.c | 17 -----------------
> 2 files changed, 21 deletions(-)
>
> diff --git a/drivers/scsi/esas2r/esas2r.h b/drivers/scsi/esas2r/esas2r.h
> index 8a133254c4f6..1e2d7c63a8e3 100644
> --- a/drivers/scsi/esas2r/esas2r.h
> +++ b/drivers/scsi/esas2r/esas2r.h
> @@ -1045,10 +1045,6 @@ void esas2r_build_mgt_req(struct esas2r_adapter *a,
> u32 length,
> void *data);
> void esas2r_build_ae_req(struct esas2r_adapter *a, struct esas2r_request *rq);
> -void esas2r_build_cli_req(struct esas2r_adapter *a,
> - struct esas2r_request *rq,
> - u32 length,
> - u32 cmd_rsp_len);
> void esas2r_build_ioctl_req(struct esas2r_adapter *a,
> struct esas2r_request *rq,
> u32 length,
> diff --git a/drivers/scsi/esas2r/esas2r_vda.c b/drivers/scsi/esas2r/esas2r_vda.c
> index 30028e56df63..5aa728704dfc 100644
> --- a/drivers/scsi/esas2r/esas2r_vda.c
> +++ b/drivers/scsi/esas2r/esas2r_vda.c
> @@ -444,23 +444,6 @@ void esas2r_build_ae_req(struct esas2r_adapter *a, struct esas2r_request *rq)
> }
> }
>
> -/* Build a VDA CLI request. */
> -void esas2r_build_cli_req(struct esas2r_adapter *a,
> - struct esas2r_request *rq,
> - u32 length,
> - u32 cmd_rsp_len)
> -{
> - struct atto_vda_cli_req *vrq = &rq->vrq->cli;
> -
> - clear_vda_request(rq);
> -
> - rq->vrq->scsi.function = VDA_FUNC_CLI;
> -
> - vrq->length = cpu_to_le32(length);
> - vrq->cmd_rsp_len = cpu_to_le32(cmd_rsp_len);
> - vrq->sg_list_offset = (u8)offsetof(struct atto_vda_cli_req, sge);
> -}
> -
> /* Build a VDA IOCTL request. */
> void esas2r_build_ioctl_req(struct esas2r_adapter *a,
> struct esas2r_request *rq,
> --
> 2.47.0
>
--
-----Open up your eyes, open up your mind, open up your code -------
/ Dr. David Alan Gilbert | Running GNU/Linux | Happy \
\ dave @ treblig.org | | In Hex /
\ _________________________|_____ http://www.treblig.org |_______/
next prev parent reply other threads:[~2024-11-02 22:09 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-02 22:03 [PATCH] scsi: esas2r: Remove unused esas2r_build_cli_req linux
2024-11-02 22:09 ` Dr. David Alan Gilbert [this message]
2024-11-03 0:46 ` Martin K. Petersen
2024-11-14 2:50 ` Martin K. Petersen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ZyajBhCcMv865wLZ@gallifrey \
--to=linux@treblig.org \
--cc=James.Bottomley@hansenpartnership.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=linuxdrivers@attotech.com \
--cc=martin.petersen@oracle.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox