summaryrefslogtreecommitdiff
path: root/drivers/staging/pi433
diff options
context:
space:
mode:
authorEisha Chen-yen-su <chenyensu0@gmail.com>2018-02-20 01:47:26 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-02-20 09:03:42 +0100
commitf1345b2f21e6f827a6445a3ea873336e540458cd (patch)
tree2e1eec7aca4f69d1f33ec47af4460406cadb0755 /drivers/staging/pi433
parent20e5f0422e216046cb8b664208ae12c9ef2fddb4 (diff)
staging: pi433: Split subtraction across 2 lines
Split a subtraction across 2 lines in order to make these lines no longer than 80 columns. Problem found with checkpatch. Signed-off-by: Eisha Chen-yen-su <chenyensu0@gmail.com> Acked-by: Julia Lawall <julia.lawall@lip6.fr> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/pi433')
-rw-r--r--drivers/staging/pi433/pi433_if.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/staging/pi433/pi433_if.c b/drivers/staging/pi433/pi433_if.c
index 4a8e633a0a1d..e8ddc924bb04 100644
--- a/drivers/staging/pi433/pi433_if.c
+++ b/drivers/staging/pi433/pi433_if.c
@@ -528,7 +528,8 @@ pi433_receive(void *data)
/* need to drop bytes or acquire? */
if (dev->rx_bytes_to_drop > dev->rx_bytes_dropped)
- bytes_to_read = dev->rx_bytes_to_drop - dev->rx_bytes_dropped;
+ bytes_to_read = dev->rx_bytes_to_drop -
+ dev->rx_bytes_dropped;
else
bytes_to_read = bytes_total - dev->rx_position;