net: allwinner: remove redundant irqsave and irqrestore in hardIRQ
authorBarry Song <song.bao.hua@hisilicon.com>
Tue, 22 Sep 2020 01:56:15 +0000 (13:56 +1200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 24 Sep 2020 00:33:52 +0000 (17:33 -0700)
commit36493269120e1fdc021001431b0cebad7d59958e
treecfe222858d04457feffd2a50ad2096bd97e0ed7a
parente4b9146849f246e77da4787657a3a95c1b6d2833
net: allwinner: remove redundant irqsave and irqrestore in hardIRQ

The comment "holders of db->lock must always block IRQs" and related
code to do irqsave and irqrestore don't make sense since we are in a
IRQ-disabled hardIRQ context.

Cc: Maxime Ripard <mripard@kernel.org>
Cc: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Barry Song <song.bao.hua@hisilicon.com>
Acked-by: Maxime Ripard <mripard@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/allwinner/sun4i-emac.c