diff options
author | 2012-03-08 19:12:14 -0500 | |
---|---|---|
committer | 2012-03-09 12:47:56 -0800 | |
commit | 55e4016dd055e262e4b078b81c80b55386ead0f4 (patch) | |
tree | 1cc2133755792a15aebd91dd4579c144c5c14d8b /fs/nfs/proc.c | |
parent | serial: use serial_port_in/out vs serial_in/out in 8250 (diff) | |
download | wireguard-linux-55e4016dd055e262e4b078b81c80b55386ead0f4.tar.xz wireguard-linux-55e4016dd055e262e4b078b81c80b55386ead0f4.zip |
serial: remove back and forth conversions in serial_out_sync
The two callers to serial_out_sync() have a struct port right
there in scope, but then pass in a struct 8250_port which then
is locally resolved back to a struct port.
Delete the needless back and forth and just pass in the struct
port directly. Rename the function to have "_port" in its
name, so the name <--> args relationship is consistent with the
other serial_in/out vs serial_port_in/out function classes.
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Acked-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/nfs/proc.c')
0 files changed, 0 insertions, 0 deletions