From: greg@kroah.com Date: Fri, 8 Oct 2004 05:26:02 +0000 (-0700) Subject: [PATCH] Revert previous dev_d.c change, it's not what is causing HAL problems. X-Git-Tag: 034~2 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=da767d0739c86a04a0c0326cebff6c08ffe1228c;p=systemd [PATCH] Revert previous dev_d.c change, it's not what is causing HAL problems. Cset exclude: greg@kroah.com|ChangeSet|20041007204001|14326 --- diff --git a/dev_d.c b/dev_d.c index 050df7bb..eaf9b1dc 100644 --- a/dev_d.c +++ b/dev_d.c @@ -96,9 +96,8 @@ void dev_d_send(struct udevice *dev, const char *subsystem, const char *devpath) strfieldcat(env_devname, dev->name); } else if (dev->type == 'n') { strfieldcpy(env_devname, dev->name); + setenv("DEVPATH", devpath, 1); } - - setenv("DEVPATH", devpath, 1); setenv("DEVNAME", env_devname, 1); dbg("DEVNAME='%s'", env_devname);