From: Arnd Bergmann Date: Thu, 10 Aug 2023 14:19:29 +0000 (+0200) Subject: scsi: gvp11: Remove unused gvp11_setup() function X-Git-Tag: v6.6.7~1928^2~37 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bfaa4a0ce1bbc1b2b67de7e4c2e1679495f7b905;p=platform%2Fkernel%2Flinux-starfive.git scsi: gvp11: Remove unused gvp11_setup() function This function has no declaration, which causes a warning: drivers/scsi/gvp11.c:53:6: error: no previous prototype for 'gvp11_setup' [-Werror=missing-prototypes] Since there is also no caller, just remove the function. Signed-off-by: Arnd Bergmann Link: https://lore.kernel.org/r/20230810141947.1236730-12-arnd@kernel.org Reviewed-by: Geert Uytterhoeven Acked-by: Palmer Dabbelt # RISC-V Signed-off-by: Martin K. Petersen --- diff --git a/drivers/scsi/gvp11.c b/drivers/scsi/gvp11.c index d2eddad..0420bfe 100644 --- a/drivers/scsi/gvp11.c +++ b/drivers/scsi/gvp11.c @@ -50,11 +50,6 @@ static irqreturn_t gvp11_intr(int irq, void *data) static int gvp11_xfer_mask = 0; -void gvp11_setup(char *str, int *ints) -{ - gvp11_xfer_mask = ints[1]; -} - static int dma_setup(struct scsi_cmnd *cmd, int dir_in) { struct scsi_pointer *scsi_pointer = WD33C93_scsi_pointer(cmd);