]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/media/video/tea6420.c
NULL noise: drivers/media
[linux-2.6-omap-h63xx.git] / drivers / media / video / tea6420.c
index ca05cd65508765559524b104dc7805ab5dad278f..4ff6c63f7237517a05d974fd60cfbcbb838af0cf 100644 (file)
@@ -101,7 +101,7 @@ static int tea6420_detect(struct i2c_adapter *adapter, int address, int kind)
 
        /* allocate memory for client structure */
        client = kzalloc(sizeof(struct i2c_client), GFP_KERNEL);
-       if (0 == client) {
+       if (!client) {
                return -ENOMEM;
        }