crypto: fix invalid return
Colin Patrick McCabe [Wed, 19 Oct 2011 19:07:27 +0000 (12:07 -0700)]
Change-Id: I9d03b3a6876b858983739c5e8d8a166a08fb2d78
Signed-off-by: Colin Patrick McCabe <cmccabe@nvidia.com>
Reviewed-on: http://git-master/r/59170
Reviewed-by: Rakesh Iyer <riyer@nvidia.com>
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>

Rebase-Id: R73da0f98f4e0d9912ff37cd9faebf06ef11e7bef

drivers/crypto/tegra-se.c

index cd515fc..3999e57 100644 (file)
@@ -270,7 +270,6 @@ static void tegra_se_key_read_disable(u8 slot_num)
        val &= ~(1 << SE_KEY_READ_DISABLE_SHIFT);
        se_writel(se_dev,
                val, (SE_KEY_TABLE_ACCESS_REG_OFFSET + (slot_num * 4)));
-       return 0;
 }
 
 static void tegra_se_key_read_disable_all(void)