Skip to content

Commit

Permalink
media: via-camera: deleted these redundant semicolons
Browse files Browse the repository at this point in the history
Macros should not use a trailing semicolon,and it was used
the semicolon after macro cam_dbg called in viacam_vb2_prepare,
so deleted these redundant semicolons.

Signed-off-by: lijian <lijian@yulong.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
  • Loading branch information
lijian authored and Mauro Carvalho Chehab committed Sep 30, 2021
1 parent 065a7c6 commit 9031d6b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/media/platform/via-camera.c
Original file line number Diff line number Diff line change
Expand Up @@ -132,11 +132,11 @@ static struct via_camera *via_cam_info;
* Debugging and related.
*/
#define cam_err(cam, fmt, arg...) \
dev_err(&(cam)->platdev->dev, fmt, ##arg);
dev_err(&(cam)->platdev->dev, fmt, ##arg)
#define cam_warn(cam, fmt, arg...) \
dev_warn(&(cam)->platdev->dev, fmt, ##arg);
dev_warn(&(cam)->platdev->dev, fmt, ##arg)
#define cam_dbg(cam, fmt, arg...) \
dev_dbg(&(cam)->platdev->dev, fmt, ##arg);
dev_dbg(&(cam)->platdev->dev, fmt, ##arg)

/*
* Format handling. This is ripped almost directly from Hans's changes
Expand Down

0 comments on commit 9031d6b

Please sign in to comment.