Starting with commit 29d1d0c72464 ("net: core: device_rename:
Use rwsem instead of a seqcount") devnet_rename_seq was
replaced with devnet_rename_sem.This piece of code was left by mistake after a -rt merge and causes the following error: net/core/dev.c:1263:28: error: 'devnet_rename_seq' undeclared (first use in this function); did you mean 'devnet_rename_sem'? | 1263 | __raw_write_seqcount_end(&devnet_rename_seq); | | ^~~~~~~~~~~~~~~~~ Signed-off-by: Daniel Dragomir <[email protected]> --- net/core/dev.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/net/core/dev.c b/net/core/dev.c index 2c901b4f6687..0a494ebdf374 100644 --- a/net/core/dev.c +++ b/net/core/dev.c @@ -1258,11 +1258,6 @@ int dev_change_name(struct net_device *dev, const char *newname) } return err; - -outunlock: - __raw_write_seqcount_end(&devnet_rename_seq); - mutex_unlock(&devnet_rename_mutex); - return err; } /** -- 2.17.1
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#8806): https://lists.yoctoproject.org/g/linux-yocto/message/8806 Mute This Topic: https://lists.yoctoproject.org/mt/75389498/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
