[2.6 patch] SCSI nsp32.c: missing parts of inline removal patch

DORMANTno replies

From: Adrian Bunk <hidden>
Date: 2004-08-03 12:21:30
Also in: lkml

The SCSI tree as included in 2.6.8-rc2-mm2 only removes the inline's 
from the functions prototypes, but the part of my original patch that 
also removes the inline's from the functions was lost.

Please additionally apply the patch below.


Signed-off-by: Adrian Bunk <redacted>
--- linux-2.6.8-rc1-mm1-full-3.4/drivers/scsi/nsp32.c.old	2004-07-16 00:34:49.000000000 +0200
+++ linux-2.6.8-rc1-mm1-full-3.4/drivers/scsi/nsp32.c	2004-07-16 00:37:26.000000000 +0200
@@ -3387,7 +3387,7 @@
 	return val;
 }
 
-static inline void nsp32_prom_set(nsp32_hw_data *data, int bit, int val)
+static void nsp32_prom_set(nsp32_hw_data *data, int bit, int val)
 {
 	int base = data->BaseAddress;
 	int tmp;
@@ -3405,7 +3405,7 @@
 	udelay(10);
 }
 
-static inline int nsp32_prom_get(nsp32_hw_data *data, int bit)
+static int nsp32_prom_get(nsp32_hw_data *data, int bit)
 {
 	int base = data->BaseAddress;
 	int tmp, ret;
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help