[libmultipath] Fixup find_hwe_strmatch()
authorHannes Reinecke <hare@suse.de>
Thu, 9 Nov 2006 09:50:47 +0000 (10:50 +0100)
committerHannes Reinecke <hare@suse.de>
Thu, 9 Nov 2006 09:50:47 +0000 (10:50 +0100)
Remove vestiges from revision update.

Signed-off-by: Hannes Reinecke <hare@suse.de>
libmultipath/config.c

index b414db9..2f07792 100644 (file)
@@ -21,7 +21,7 @@
 #include "defaults.h"
 
 static struct hwentry *
-find_hwe_strmatch (vector hwtable, char * vendor, char * product, char * revision)
+find_hwe_strmatch (vector hwtable, char * vendor, char * product)
 {
        int i;
        struct hwentry *hwe, *ret = NULL;
@@ -33,9 +33,6 @@ find_hwe_strmatch (vector hwtable, char * vendor, char * product, char * revisio
                if (hwe->product && product && strcmp(hwe->product, product))
                        continue;
 
-               if (hwe->revision && revision && strcmp(hwe->revision, revision))
-                       continue;
-
                ret = hwe;
                break;
        }