mirror of
https://github.com/opnsense/src.git
synced 2026-06-10 01:00:30 -04:00
Style.
MFC after: 1 week
This commit is contained in:
parent
f403cfb19c
commit
4d651f4e5f
1 changed files with 1 additions and 2 deletions
|
|
@ -1009,8 +1009,7 @@ make_dev_physpath_alias(int flags, struct cdev **cdev, struct cdev *pdev,
|
|||
}
|
||||
|
||||
sprintf(devfspath, "%s/%s", physpath, pdev->si_name);
|
||||
if (old_alias != NULL
|
||||
&& strcmp(old_alias->si_name, devfspath) == 0) {
|
||||
if (old_alias != NULL && strcmp(old_alias->si_name, devfspath) == 0) {
|
||||
/* Retain the existing alias. */
|
||||
*cdev = old_alias;
|
||||
old_alias = NULL;
|
||||
|
|
|
|||
Loading…
Reference in a new issue