• J
    TTY: simserial, final cleanup · 6e9ebcfa
    Jiri Slaby 提交于
    * 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: NJiri Slaby <jslaby@suse.cz>
    Cc: Tony Luck <tony.luck@intel.com>
    Cc: Fenghua Yu <fenghua.yu@intel.com>
    Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
    6e9ebcfa
simserial.c 13.0 KB