We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b215580 commit 5905c02Copy full SHA for 5905c02
net/caif/chnl_net.c
@@ -47,7 +47,6 @@ struct chnl_net {
47
struct caif_connect_request conn_req;
48
struct list_head list_field;
49
struct net_device *netdev;
50
- char name[256];
51
wait_queue_head_t netmgmt_wq;
52
/* Flow status to remember and control the transmission. */
53
bool flowenabled;
@@ -347,7 +346,6 @@ static int chnl_net_init(struct net_device *dev)
347
346
struct chnl_net *priv;
348
ASSERT_RTNL();
349
priv = netdev_priv(dev);
350
- strncpy(priv->name, dev->name, sizeof(priv->name));
351
INIT_LIST_HEAD(&priv->list_field);
352
return 0;
353
}
0 commit comments