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:
Edward Tomasz Napierala 2016-12-12 19:11:04 +00:00
parent 71ef4d586a
commit e3d4c4dcde
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=309927

View File

@ -1230,9 +1230,6 @@ const char *
devtoname(struct cdev *dev)
{
if (dev == NULL)
return (NULL);
return (dev->si_name);
}