Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <arnd@arndb.de>
Link: https://lore.kernel.org/r/20230810141947.1236730-12-arnd@kernel.org
Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org>
Acked-by: Palmer Dabbelt <palmer@rivosinc.com> # RISC-V
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>

authored by

Arnd Bergmann and committed by
Martin K. Petersen
bfaa4a0c 71cc4863

-5
-5
drivers/scsi/gvp11.c
··· 50 50 51 51 static int gvp11_xfer_mask = 0; 52 52 53 - void gvp11_setup(char *str, int *ints) 54 - { 55 - gvp11_xfer_mask = ints[1]; 56 - } 57 - 58 53 static int dma_setup(struct scsi_cmnd *cmd, int dir_in) 59 54 { 60 55 struct scsi_pointer *scsi_pointer = WD33C93_scsi_pointer(cmd);