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
71ef4d586a
commit
e3d4c4dcde
@ -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