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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=309927
@ -1230,9 +1230,6 @@ const char *
|
||||
devtoname(struct cdev *dev)
|
||||
{
|
||||
|
||||
if (dev == NULL)
|
||||
return (NULL);
|
||||
|
||||
return (dev->si_name);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user