]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - drivers/rtc/rtc-v3020.c
Merge tag 'fuse-fixes-5.6-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/mszer...
[linux.git] / drivers / rtc / rtc-v3020.c
index 63ffba21397bacaa198cd712ccdf1e66d14a1580..d2da92187d5687db01f18948f88fc1db736bee8e 100644 (file)
@@ -284,7 +284,6 @@ static int rtc_probe(struct platform_device *pdev)
        struct v3020 *chip;
        int retval = -EBUSY;
        int i;
-       int temp;
 
        chip = devm_kzalloc(&pdev->dev, sizeof(*chip), GFP_KERNEL);
        if (!chip)
@@ -302,7 +301,7 @@ static int rtc_probe(struct platform_device *pdev)
        /* Make sure the v3020 expects a communication cycle
         * by reading 8 times */
        for (i = 0; i < 8; i++)
-               temp = chip->ops->read_bit(chip);
+               chip->ops->read_bit(chip);
 
        /* Test chip by doing a write/read sequence
         * to the chip ram */