diff options
author | Linus Torvalds <[email protected]> | 2008-08-06 17:36:23 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2008-08-06 17:36:23 -0700 |
commit | f99e8f277f1172c49ac7b0585aed5b094fe235d4 (patch) | |
tree | eba6b6cb42ead945ea567d6a29a8c7b7b4669530 /net/unix/sysctl_net_unix.c | |
parent | 680db0136e0778a0d7e025af7572c6a8d82279e2 (diff) |
iSeries: Fix up viotty_ioctl BKL locking fallout
The bogus code to call into the n_tty layer got removed in commit
8bc5fb6abb670fa9079cd1994f016a39f99698fe ("Remove bogons from the
iSeries console"), but it left a now uninitialized "return ret;" around.
Not that this code has ever even compiled since the BKL pushdown, since
not only is "ret" no longer initialized, it was never actually declared
even originally.
Replace it with a "return -ENOIOCTLCMD"
Pointed-out-by: Paul Mackerras <[email protected]>
Acked-by: Alan Cox <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions