aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/apple
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2019-08-05 23:34:41 +0300
committerDavid S. Miller <davem@davemloft.net>2019-08-08 18:03:42 -0700
commit9d2f11238398793be11830a6f41908652b661395 (patch)
treec5b57042f264f79a84a1ff53e25347a458195da4 /drivers/net/ethernet/apple
parentmkiss: Use refcount_t for refcount (diff)
downloadlinux-dev-9d2f11238398793be11830a6f41908652b661395.tar.xz
linux-dev-9d2f11238398793be11830a6f41908652b661395.zip
net: delete "register" keyword
Delete long obsoleted "register" keyword. Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/apple')
-rw-r--r--drivers/net/ethernet/apple/bmac.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ethernet/apple/bmac.c b/drivers/net/ethernet/apple/bmac.c
index c40daad515d5..a58185b1d8bf 100644
--- a/drivers/net/ethernet/apple/bmac.c
+++ b/drivers/net/ethernet/apple/bmac.c
@@ -815,8 +815,8 @@ static int reverse6[64] = {
static unsigned int
crc416(unsigned int curval, unsigned short nxtval)
{
- register unsigned int counter, cur = curval, next = nxtval;
- register int high_crc_set, low_data_set;
+ unsigned int counter, cur = curval, next = nxtval;
+ int high_crc_set, low_data_set;
/* Swap bytes */
next = ((next & 0x00FF) << 8) | (next >> 8);