Skip to content

Commit bfaa4a0

Browse files
arndbmartinkpetersen
authored andcommitted
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Geert Uytterhoeven <[email protected]> Acked-by: Palmer Dabbelt <[email protected]> # RISC-V Signed-off-by: Martin K. Petersen <[email protected]>
1 parent 71cc486 commit bfaa4a0

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

drivers/scsi/gvp11.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,6 @@ static irqreturn_t gvp11_intr(int irq, void *data)
5050

5151
static int gvp11_xfer_mask = 0;
5252

53-
void gvp11_setup(char *str, int *ints)
54-
{
55-
gvp11_xfer_mask = ints[1];
56-
}
57-
5853
static int dma_setup(struct scsi_cmnd *cmd, int dir_in)
5954
{
6055
struct scsi_pointer *scsi_pointer = WD33C93_scsi_pointer(cmd);

0 commit comments

Comments
 (0)