ppp_synctty: remove unneeded NULL check
Subsystems (2)
PATCH 1/1 ppp_synctty: remove unneeded NULL check
Fix a random whine found by coverity. Had it been NULL it would have showered us with oopses long before.
Signed-off-by Alan Cox <[email protected]>
--- drivers/net/ppp/ppp_synctty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ppp/ppp_synctty.c +1 -1
@@ -549,7 +549,7 @@ ppp_sync_txmunge(struct syncppp *ap, struct sk_buff *skb) ap->last_xmit = jiffies; -if (skb && ap->flags &SC_LOG_OUTPKT ) +if (ap->flags &SC_LOG_OUTPKT )ppp_print_buffer ("send buffer" , skb->data, skb->len);return skb;