diff options
| author | Russell King <[email protected]> | 2006-01-06 00:10:52 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2006-01-06 08:33:24 -0800 |
| commit | 03b00ebcc804180829d513df9e92e5fe8f72aacf (patch) | |
| tree | 6ffa5de42322cca4b1823f7257647e70a4a166bb /scripts/basic | |
| parent | a94b3ab7eab4edcc9b2cb474b188f774c331adf7 (diff) | |
[PATCH] Shut up warnings in ipc/shm.c
Fix two warnings in ipc/shm.c
ipc/shm.c:122: warning: statement with no effect
ipc/shm.c:560: warning: statement with no effect
by converting the macros to empty inline functions. For safety, let's do
all three. This also has the advantage that typechecking gets performed
even without CONFIG_SHMEM enabled.
Signed-off-by: Russell King <[email protected]>
Cc: Manfred Spraul <[email protected]>
Cc: Hugh Dickins <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions