Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[media] ite-cir: just return 0 instead of using a var

Instead of allocating a var to store 0 and just return it,
change the code to return 0 directly.

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>

+1 -2
+1 -2
drivers/media/rc/ite-cir.c
··· 1666 1666 1667 1667 static int ite_resume(struct pnp_dev *pdev) 1668 1668 { 1669 - int ret = 0; 1670 1669 struct ite_dev *dev = pnp_get_drvdata(pdev); 1671 1670 unsigned long flags; 1672 1671 ··· 1680 1681 1681 1682 spin_unlock_irqrestore(&dev->lock, flags); 1682 1683 1683 - return ret; 1684 + return 0; 1684 1685 } 1685 1686 1686 1687 static void ite_shutdown(struct pnp_dev *pdev)