can: dev: use skb_put_zero to simplfy code
commit8551e71d1063edfaab03585e5f78077ec1c85da3
authorYueHaibing <yuehaibing@huawei.com>
Sat, 28 Apr 2018 07:49:57 +0000 (28 15:49 +0800)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Fri, 27 Jul 2018 08:40:16 +0000 (27 10:40 +0200)
treeca44d7530154cf0ac3d82076c4fe8f6b7ae08ee0
parent9f2d3eae88d26c29d96e42983b755940d9169cd9
can: dev: use skb_put_zero to simplfy code

use helper skb_put_zero to replace the pattern of skb_put() && memset()

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/dev.c