Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove the redundant code #271

Merged
merged 1 commit into from
Oct 6, 2024
Merged

Remove the redundant code #271

merged 1 commit into from
Oct 6, 2024

Conversation

NOVBobLee
Copy link
Contributor

proc_remove does nothing when the argument is NULL[1]. We don't need proc_remove after proc_create failed.

[1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/fs/proc/generic.c#n789

proc_remove does nothing when the argument is NULL[1]. We don't need
proc_remove after proc_create failed.

[1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/fs/proc/generic.c#n789
@jserv jserv merged commit 1fc5305 into sysprog21:master Oct 6, 2024
1 check failed
@jserv
Copy link
Contributor

jserv commented Oct 6, 2024

Thank @NOVBobLee for contributing!

@NOVBobLee NOVBobLee deleted the pr_patch branch October 6, 2024 15:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants