diff options
author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-21 14:18:26 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-21 14:18:26 -0500 |
commit | 5fc7e655a50b0a19229a6b4a8a5e23bfedf700a4 (patch) | |
tree | 92c1901470f4789bd112d3a1642f346ee67cb1ce /drivers/char/ip2 | |
parent | e695e10bc996d6f83df7d85f1011c8d00573f68b (diff) |
Fix bogus 'inline' in drivers/char/ip2/i2lib.c
Not only was the function way too big to be inlined in the first place,
it was used before it was even defined.
Noted-by: Faik Uygur <faik@pardus.org.tr>
Cc: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/char/ip2')
-rw-r--r-- | drivers/char/ip2/i2lib.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/char/ip2/i2lib.c b/drivers/char/ip2/i2lib.c index f86fa0c55d36..e46120d05b68 100644 --- a/drivers/char/ip2/i2lib.c +++ b/drivers/char/ip2/i2lib.c | |||
@@ -80,7 +80,7 @@ static int i2RetryFlushOutput(i2ChanStrPtr); | |||
80 | // Not a documented part of the library routines (careful...) but the Diagnostic | 80 | // Not a documented part of the library routines (careful...) but the Diagnostic |
81 | // i2diag.c finds them useful to help the throughput in certain limited | 81 | // i2diag.c finds them useful to help the throughput in certain limited |
82 | // single-threaded operations. | 82 | // single-threaded operations. |
83 | static inline void iiSendPendingMail(i2eBordStrPtr); | 83 | static void iiSendPendingMail(i2eBordStrPtr); |
84 | static void serviceOutgoingFifo(i2eBordStrPtr); | 84 | static void serviceOutgoingFifo(i2eBordStrPtr); |
85 | 85 | ||
86 | // Functions defined in ip2.c as part of interrupt handling | 86 | // Functions defined in ip2.c as part of interrupt handling |
@@ -166,7 +166,7 @@ static void iiSendPendingMail_t(unsigned long data) | |||
166 | // If any outgoing mail bits are set and there is outgoing mailbox is empty, | 166 | // If any outgoing mail bits are set and there is outgoing mailbox is empty, |
167 | // send the mail and clear the bits. | 167 | // send the mail and clear the bits. |
168 | //****************************************************************************** | 168 | //****************************************************************************** |
169 | static inline void | 169 | static void |
170 | iiSendPendingMail(i2eBordStrPtr pB) | 170 | iiSendPendingMail(i2eBordStrPtr pB) |
171 | { | 171 | { |
172 | if (pB->i2eOutMailWaiting && (!pB->i2eWaitingForEmptyFifo) ) | 172 | if (pB->i2eOutMailWaiting && (!pB->i2eWaitingForEmptyFifo) ) |