Niklas Cassel 1029117127 net: stmmac: remove redundant enable of PMT irq
For dwmac4, GMAC_INT_DEFAULT_ENABLE already includes
GMAC_INT_PMT_EN, so it is redundant to check if hw->pmt
is set, and if so, setting the bit again.

For dwmac1000, GMAC_INT_DEFAULT_MASK does not include
GMAC_INT_DISABLE_PMT, so it is redundant to check if
hw->pmt is set, and if so, clearing an already cleared bit.

Improve code readability by removing this redundant code.

Signed-off-by: Niklas Cassel <niklas.cassel@axis.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-02-09 14:23:04 -05:00
..
2018-02-06 15:30:52 -08:00
2018-02-06 09:59:40 -08:00
2018-02-06 09:59:40 -08:00
2018-02-01 16:35:31 -08:00
2018-02-06 09:59:40 -08:00
2018-02-02 10:01:04 -08:00
2018-02-02 14:57:44 -08:00
2018-02-06 09:59:40 -08:00
2018-02-06 09:59:40 -08:00
2018-01-31 12:54:05 -08:00
2018-02-01 10:31:17 -08:00
2018-02-06 09:59:40 -08:00
2018-02-01 09:51:57 -08:00
2018-02-06 09:59:40 -08:00
2018-02-06 09:59:40 -08:00
2018-01-31 12:22:41 -08:00
2018-02-06 09:59:40 -08:00
2018-02-04 11:11:23 -08:00
2018-02-04 11:16:35 -08:00
2018-02-01 16:35:31 -08:00
2018-01-29 11:35:24 -08:00
2018-02-05 09:51:15 -08:00
2018-01-31 11:32:27 -08:00
2018-02-01 10:31:17 -08:00
2018-02-04 11:16:35 -08:00
2018-02-06 09:59:40 -08:00
2018-02-06 09:59:40 -08:00
2018-02-01 09:40:49 -08:00
2018-02-06 15:30:52 -08:00
2018-02-05 10:07:40 -08:00
2018-02-05 10:05:40 -08:00
2018-02-02 14:19:19 -08:00
2018-02-06 10:41:33 -08:00
2018-02-06 09:59:40 -08:00
2018-02-04 11:16:35 -08:00
2018-02-01 16:35:31 -08:00
2018-01-22 16:45:26 +01:00
2018-02-06 11:27:48 -08:00
2018-02-01 10:00:28 -08:00
2018-02-01 10:31:17 -08:00
2018-02-01 13:18:25 -08:00
2018-02-06 09:59:40 -08:00
2018-01-31 11:32:27 -08:00
2018-02-01 10:31:17 -08:00
2018-02-06 09:59:40 -08:00