• Jiri Slaby's avatar
    TTY: simserial, final cleanup · 6e9ebcfa
    Jiri Slaby authored
    * remove pointless checks (tty cannot be NULL at that points)
    * fix some printks (use __func__, print text directly w/o using global
      strings)
    * remove some empty lines
    
    This is the last patch for simserial. Overall, the driver is 400 lines
    shorter. Being now at 560 lines.
    
    It was tested using ski with a busybox userspace.
    Signed-off-by: default avatarJiri Slaby <jslaby@suse.cz>
    Cc: Tony Luck <tony.luck@intel.com>
    Cc: Fenghua Yu <fenghua.yu@intel.com>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
    6e9ebcfa
simserial.c 13 KB