staging: lustre: lnet: klnds: socklnd: Remove unnecessary line continuations
PATCH 1/1 staging: lustre: lnet: klnds: socklnd: Remove unnecessary line continuations
Fixes checkpatch warning:
WARNING: Avoid unnecessary line continuations
--- drivers/staging/lustre/lnet/klnds/socklnd/socklnd_cb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/lustre/lnet/klnds/socklnd/socklnd_cb.c +1 -1
@@ -35,7 +35,7 @@ ksocknal_alloc_tx(int type, int size)spin_lock (&ksocknal_data.ksnd_tx_lock);if (!list_empty (&ksocknal_data.ksnd_idle_noop_txs)) { - tx =list_entry (ksocknal_data.ksnd_idle_noop_txs. \ + tx =list_entry (ksocknal_data.ksnd_idle_noop_txs. next, struct ksock_tx, tx_list);LASSERT (tx->tx_desc_size == size);list_del (&tx->tx_list);
Signature · 1 line
1.9.1
Quoted 14 lines · Anchal Jain
Fixes checkpatch warning:
WARNING: Avoid unnecessary line continuations
Signed-off-by Anchal Jain <[email protected]>--- drivers/staging/lustre/lnet/klnds/socklnd/socklnd_cb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/staging/lustre/lnet/klnds/socklnd/socklnd_cb.c +0
-0
drivers/staging/lustre/lnet/klnds/socklnd/socklnd_cb.c ksocknal_alloc_tx(int type, int size) · line 39
Quoted 6 lines
drivers/staging/lustre/lnet/klnds/socklnd/socklnd_cb.c +1
-1@@ -35,7 +35,7 @@ ksocknal_alloc_tx(int type, int size)spin_lock (&ksocknal_data.ksnd_tx_lock);if (!list_empty (&ksocknal_data.ksnd_idle_noop_txs)) { - tx =list_entry (ksocknal_data.ksnd_idle_noop_txs. \ + tx =list_entry (ksocknal_data.ksnd_idle_noop_txs. next, struct ksock_tx, tx_list);
It would be better to put next, up on the previous line.
julia
Quoted 12 lines
drivers/staging/lustre/lnet/klnds/socklnd/socklnd_cb.c +0
-1LASSERT (tx->tx_desc_size == size);list_del (&tx->tx_list); --1.9.1
--
You received this message because you are subscribed to the Google Groups "outreachy-kernel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/outreachy-kernel/20160918142937.GA8801%40life-desktop.
For more options, visit https://groups.google.com/d/optout.