File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -3198,7 +3198,7 @@ static inline void unregister_netdevice(struct net_device *dev)
3198
3198
int netdev_refcnt_read (const struct net_device * dev );
3199
3199
void free_netdev (struct net_device * dev );
3200
3200
void netdev_freemem (struct net_device * dev );
3201
- int init_dummy_netdev (struct net_device * dev );
3201
+ void init_dummy_netdev (struct net_device * dev );
3202
3202
3203
3203
struct net_device * netdev_get_xmit_slave (struct net_device * dev ,
3204
3204
struct sk_buff * skb ,
Original file line number Diff line number Diff line change @@ -10345,7 +10345,7 @@ EXPORT_SYMBOL(register_netdevice);
10345
10345
* that need to tie several hardware interfaces to a single NAPI
10346
10346
* poll scheduler due to HW limitations.
10347
10347
*/
10348
- int init_dummy_netdev (struct net_device * dev )
10348
+ void init_dummy_netdev (struct net_device * dev )
10349
10349
{
10350
10350
/* Clear everything. Note we don't initialize spinlocks
10351
10351
* are they aren't supposed to be taken by any of the
@@ -10373,8 +10373,6 @@ int init_dummy_netdev(struct net_device *dev)
10373
10373
* because users of this 'device' dont need to change
10374
10374
* its refcount.
10375
10375
*/
10376
-
10377
- return 0 ;
10378
10376
}
10379
10377
EXPORT_SYMBOL_GPL (init_dummy_netdev );
10380
10378
You can’t perform that action at this time.
0 commit comments