]> Pileus Git - ~andy/linux/blobdiff - fs/cifs/link.c
Merge branch 'devicetree/next' into spi/next
[~andy/linux] / fs / cifs / link.c
index d3444ea6ac714c8cba1942275363f7f324a01041..e8804d3734044f578da6d4427e4961431d61ae5a 100644 (file)
@@ -54,7 +54,7 @@ symlink_hash(unsigned int link_len, const char *link_str, u8 *md5_hash)
        struct sdesc *sdescmd5;
 
        md5 = crypto_alloc_shash("md5", 0, 0);
-       if (!md5 || IS_ERR(md5)) {
+       if (IS_ERR(md5)) {
                rc = PTR_ERR(md5);
                cERROR(1, "%s: Crypto md5 allocation error %d\n", __func__, rc);
                return rc;