diff options
author | kay.sievers@vrfy.org <kay.sievers@vrfy.org> | 2004-12-12 02:54:55 +0100 |
---|---|---|
committer | Greg KH <gregkh@suse.de> | 2005-04-26 23:13:48 -0700 |
commit | 8544c9ad4febef602d640905a70c350364f98967 (patch) | |
tree | 1f64d173b15f6d917008400632ce38c82b31ddab | |
parent | d7190b051391163187325a3d39d55893527270a4 (diff) |
[PATCH] remove double initialization
-rw-r--r-- | udev.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -101,11 +101,11 @@ int main(int argc, char *argv[], char *envp[]) struct sysfs_device *devices_dev; struct udevice udev; char path[SYSFS_PATH_MAX]; - int retval = -EINVAL; const char *error; - const char *action = getenv("ACTION"); - const char *devpath = getenv("DEVPATH"); - const char *subsystem = argv[1]; + const char *action; + const char *devpath; + const char *subsystem; + int retval = -EINVAL; if (argc == 2 && strcmp(argv[1], "-V") == 0) { printf("%s\n", UDEV_VERSION); |