Undo r309891. Konstantin is right in that this condition normally
cannot happen - the um_dev field is assigned at mount and never written to afterwards.
This commit is contained in:
parent
5b403b7aab
commit
4cbaaf9b71
@ -1230,9 +1230,6 @@ const char *
|
||||
devtoname(struct cdev *dev)
|
||||
{
|
||||
|
||||
if (dev == NULL)
|
||||
return (NULL);
|
||||
|
||||
return (dev->si_name);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user