jsm: Fix the return variable and removing the unused retval.
commite713abead3324f6d4381a3d280b7ce35b7eadb7a
authorBreno Leitao <leitao@linux.vnet.ibm.com>
Mon, 6 Apr 2009 16:34:27 +0000 (6 17:34 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 6 Apr 2009 21:36:34 +0000 (6 14:36 -0700)
tree000f4528ab72a37606b58b1d76e0bfa0ea4ecf84
parentaacf17adc62650fa0eb59559b737f543d003575e
jsm: Fix the return variable and removing the unused retval.

As it was, the retval was never returned, so its assignments were silly.
Just consolidate everything to rc, and remove the unused retval variable.

Signed-off-by: Breno Leitao <leitao@linux.vnet.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Alan Cox <alan@etchedpixels.co.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/serial/jsm/jsm_driver.c