diff options
author | Gregory CLEMENT <gregory.clement@bootlin.com> | 2020-05-18 10:45:12 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-05-19 16:19:54 +0200 |
commit | 57626ff1c9135211b92dfbea1923333c7b6dd12c (patch) | |
tree | 3e81becc43bc451242f930cb51405e2ca7140869 /drivers/w1/masters | |
parent | 55484fcc5061c3f41b2f8f37b4a5754d3682f1a5 (diff) | |
download | linux-57626ff1c9135211b92dfbea1923333c7b6dd12c.tar.gz linux-57626ff1c9135211b92dfbea1923333c7b6dd12c.tar.bz2 linux-57626ff1c9135211b92dfbea1923333c7b6dd12c.zip |
tty: n_gsm: Remove unnecessary test in gsm_print_packet()
If the length is zero then the print_hex_dump_bytes won't output
anything, so testing the length before the call is unnecessary.
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
Link: https://lore.kernel.org/r/20200518084517.2173242-2-gregory.clement@bootlin.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/w1/masters')
0 files changed, 0 insertions, 0 deletions