Linus Torvalds f99e8f277f 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 <paulus@samba.org>
Acked-by: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-08-06 17:36:23 -07:00
..
2008-08-01 19:04:26 +02:00
2008-08-04 17:12:07 -07:00
2008-08-04 12:51:06 +09:00
2008-08-05 14:33:46 -07:00
2008-08-05 14:33:49 -07:00
2008-07-30 10:10:22 +01:00