[media] squash lines for simple wrapper functions
Remove unneeded variables and assignments. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
This commit is contained in:

کامیت شده توسط
Mauro Carvalho Chehab

والد
4a3229834d
کامیت
29a8d97925
@@ -483,11 +483,7 @@ static void cal_get_hwinfo(struct cal_dev *dev)
|
||||
|
||||
static inline int cal_runtime_get(struct cal_dev *dev)
|
||||
{
|
||||
int r;
|
||||
|
||||
r = pm_runtime_get_sync(&dev->pdev->dev);
|
||||
|
||||
return r;
|
||||
return pm_runtime_get_sync(&dev->pdev->dev);
|
||||
}
|
||||
|
||||
static inline void cal_runtime_put(struct cal_dev *dev)
|
||||
|
مرجع در شماره جدید
Block a user