mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-02 15:18:19 +00:00
net: ksz884x: Use fallthrough pseudo-keyword
Replace /* Fallthrough... */ comment with the new pseudo-keyword macro fallthrough[1]. [1] https://www.kernel.org/doc/html/v5.7/process/deprecated.html?highlight=fallthrough#implicit-switch-case-fall-through Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
e55e66e8ae
commit
401d8ce4ae
1 changed files with 1 additions and 2 deletions
|
@ -5833,8 +5833,7 @@ static int netdev_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd)
|
|||
/* Get address of MII PHY in use. */
|
||||
case SIOCGMIIPHY:
|
||||
data->phy_id = priv->id;
|
||||
|
||||
/* Fallthrough... */
|
||||
fallthrough;
|
||||
|
||||
/* Read MII PHY register. */
|
||||
case SIOCGMIIREG:
|
||||
|
|
Loading…
Reference in a new issue