Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1463157
| From | David Miller <davem@davemloft.net> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] net: hns: mdio->irq is an array, so no need to check if it is null |
| Date | 2016-08-15 22:40 +0200 |
| Message-ID | <s6wPT-1T2-5@gated-at.bofh.it> (permalink) |
| References | <s6pEJ-5I5-7@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
From: Colin King <colin.king@canonical.com> Date: Mon, 15 Aug 2016 13:55:17 +0100 > From: Colin Ian King <colin.king@canonical.com> > > The null check on mdio->irq is redundant since mdio->irq is an array > of PHY_MAX_ADDR ints and hence can never be null. Remove the redundant > check. > > Signed-off-by: Colin Ian King <colin.king@canonical.com> Applied, thanks.
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH] net: hns: mdio->irq is an array, so no need to check if it is null Colin King <colin.king@canonical.com> - 2016-08-15 15:00 +0200 Re: [PATCH] net: hns: mdio->irq is an array, so no need to check if it is null David Miller <davem@davemloft.net> - 2016-08-15 22:40 +0200
csiph-web