OSDN Git Service

niu: remove one compound_head() call
authorEric Dumazet <edumazet@google.com>
Fri, 16 Jan 2015 13:39:30 +0000 (05:39 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 18 Jan 2015 04:58:37 +0000 (23:58 -0500)
commitff8b335610cac5509156f28e03355c895bcc94f5
tree01937eec933a217996c434c1d613ca7513e22159
parent66c1a12c65c5bee2427b7813218d1279e4906084
niu: remove one compound_head() call

After a "page = alloc_page(mask);", we do not need to use
compound_head() : page already points to the right place.

This would be true even if using alloc_pages().

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/sun/niu.c