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
..
2017-10-18 12:39:37 +01:00
2017-04-13 12:40:09 -04:00
2018-01-22 16:12:11 -05:00
2017-02-08 15:11:23 -05:00
2017-02-08 15:11:23 -05:00
2018-02-09 14:23:04 -05:00
2018-01-24 16:28:07 -05:00
2016-11-15 19:56:17 -05:00
2017-10-14 11:12:08 -07:00
2017-03-15 14:44:32 -07:00
2017-03-15 14:44:32 -07:00
2018-02-09 14:23:04 -05:00
2018-01-22 16:12:11 -05:00
2017-07-24 16:19:10 -07:00
2017-02-08 15:11:23 -05:00
2018-02-09 14:23:04 -05:00
2017-07-24 16:19:10 -07:00
2017-02-08 15:11:23 -05:00
2017-07-24 16:19:10 -07:00
2017-10-13 10:19:52 -07:00
2017-08-06 21:31:32 -07:00
2017-10-27 23:23:19 +09:00
2016-12-08 11:35:37 -05:00
2017-10-08 21:19:07 -07:00
2016-12-02 10:42:47 -05:00
2018-01-17 14:41:05 -05:00
2016-12-02 10:42:47 -05:00
2017-01-03 09:33:00 -05:00
2017-10-03 15:39:56 -07:00
2017-08-23 20:26:58 -07:00
2016-12-03 12:29:53 -05:00
2017-11-29 10:08:09 -05:00
2018-01-22 16:12:11 -05:00
2016-12-02 10:42:47 -05:00
2018-01-24 16:28:07 -05:00
2017-10-27 11:58:49 +09:00
2017-11-02 11:10:55 +01:00
2017-02-08 15:11:23 -05:00
2017-02-08 15:11:23 -05:00
2018-01-02 21:54:56 -05:00
2017-04-13 12:40:09 -04:00
2017-07-24 16:19:10 -07:00
2017-12-19 14:12:14 -05:00
2018-01-22 16:12:11 -05:00
2017-09-05 14:36:18 -07:00
2017-06-22 13:39:57 -04:00
2017-11-04 09:26:51 +09:00
2016-12-02 10:42:47 -05:00
2017-08-22 11:04:51 -07:00
2017-06-09 12:39:25 -04:00
2017-05-25 13:08:35 -04:00