OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
065a7c6
)
media: via-camera: deleted these redundant semicolons
author
lijian
<lijian@yulong.com>
Fri, 28 May 2021 08:47:40 +0000
(10:47 +0200)
committer
Mauro Carvalho Chehab
<mchehab+huawei@kernel.org>
Thu, 30 Sep 2021 08:07:53 +0000
(10:07 +0200)
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>
drivers/media/platform/via-camera.c
patch
|
blob
|
history
diff --git
a/drivers/media/platform/via-camera.c
b/drivers/media/platform/via-camera.c
index
3655573
..
95483c8
100644
(file)
--- a/
drivers/media/platform/via-camera.c
+++ b/
drivers/media/platform/via-camera.c
@@
-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