lkml.org 
[lkml]   [2001]   [Oct]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject[PATCH] scsi compile warning fix
From
Date
drivers/scsi/scsi.c : proc_scsi_gen_write is declared prior to its
formal definition. it is not used before its definition, and thus the
prior declaration is pointless, generating a compile warning...

attached applies fine to 2.4.13-ac4...

diff -urN linux-2.4.13-ac2/drivers/scsi/scsi.c linux/drivers/scsi/scsi.c
--- linux-2.4.13-ac2/drivers/scsi/scsi.c Fri Oct 26 15:47:59 2001
+++ linux/drivers/scsi/scsi.c Fri Oct 26 23:34:20 2001
@@ -1515,9 +1515,6 @@
spin_unlock_irqrestore(&device_request_lock, flags);
}

-static int proc_scsi_gen_write(struct file * file, const char * buf,
- unsigned long length, void *data);
-
void __init scsi_host_no_insert(char *str, int n)
{
Scsi_Host_Name *shn, *shn2;

Robert Love

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:11    [from the cache]
©2003-2011 Jasper Spaans