Skip to content

Commit c6e7f27

Browse files
leitaodavem330
authored andcommitted
net: core: Fix documentation
Fix bad grammar in description of init_dummy_netdev() function. This topic showed up in the review of the "allocate dummy device dynamically" patch set. Suggested-by: Ido Schimmel <idosch@nvidia.com> Signed-off-by: Breno Leitao <leitao@debian.org> Reviewed-by: Ido Schimmel <idosch@nvidia.com> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 55972ce commit c6e7f27

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

net/core/dev.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10424,7 +10424,7 @@ EXPORT_SYMBOL(register_netdevice);
1042410424
* init_dummy_netdev - init a dummy network device for NAPI
1042510425
* @dev: device to init
1042610426
*
10427-
* This takes a network device structure and initialize the minimum
10427+
* This takes a network device structure and initializes the minimum
1042810428
* amount of fields so it can be used to schedule NAPI polls without
1042910429
* registering a full blown interface. This is to be used by drivers
1043010430
* that need to tie several hardware interfaces to a single NAPI
@@ -10433,7 +10433,7 @@ EXPORT_SYMBOL(register_netdevice);
1043310433
void init_dummy_netdev(struct net_device *dev)
1043410434
{
1043510435
/* Clear everything. Note we don't initialize spinlocks
10436-
* are they aren't supposed to be taken by any of the
10436+
* as they aren't supposed to be taken by any of the
1043710437
* NAPI code and this dummy netdev is supposed to be
1043810438
* only ever used for NAPI polls
1043910439
*/

0 commit comments

Comments
 (0)