Skip to content

Commit 52c44d2

Browse files
julianwiedmanndavem330
authored andcommitted
s390/qeth: don't dump control cmd twice
A few lines down, qeth_prepare_control_data() makes further changes to the control cmd buffer, and then also writes a trace entry for it. So the first entry just pollutes the trace file with intermediate data, drop it. Signed-off-by: Julian Wiedmann <[email protected]> Reviewed-by: Ursula Braun <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 978759e commit 52c44d2

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/s390/net/qeth_core_main.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2073,7 +2073,6 @@ int qeth_send_control_data(struct qeth_card *card, int len,
20732073
spin_lock_irqsave(&card->lock, flags);
20742074
list_add_tail(&reply->list, &card->cmd_waiter_list);
20752075
spin_unlock_irqrestore(&card->lock, flags);
2076-
QETH_DBF_HEX(CTRL, 2, iob->data, QETH_DBF_CTRL_LEN);
20772076

20782077
while (atomic_cmpxchg(&card->write.irq_pending, 0, 1)) ;
20792078
qeth_prepare_control_data(card, len, iob);

0 commit comments

Comments
 (0)