NFS: get rid of unused xdr decode_setattr(, res) argument
[safe/jmp/linux-2.6] / fs / nfs / idmap.c
index 8ae5dba..86147b0 100644 (file)
@@ -309,7 +309,7 @@ nfs_idmap_name(struct idmap *idmap, struct idmap_hashtable *h,
        mutex_lock(&idmap->idmap_im_lock);
 
        he = idmap_lookup_id(h, id);
-       if (he != 0) {
+       if (he) {
                memcpy(name, he->ih_name, he->ih_namelen);
                ret = he->ih_namelen;
                goto out;