public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] staging:media:lirc Remove the extra braces in if statement of lirc_imon
@ 2015-08-03  7:56 Pradheep Shrinivasan
  2015-08-03  7:56 ` [PATCH 2/2] staging:media:lirc This fix changes the spaces to tab in lirc_sasem.c Pradheep Shrinivasan
  2015-08-03  8:25 ` [PATCH 1/2] staging:media:lirc Remove the extra braces in if statement of lirc_imon Dan Carpenter
  0 siblings, 2 replies; 6+ messages in thread
From: Pradheep Shrinivasan @ 2015-08-03  7:56 UTC (permalink / raw)
  To: Jarod Wilson, Greg Kroah-Hartman
  Cc: Mauro Carvalho Chehab, Tapasweni Pathak, linux-media, devel,
	pradheep

From: pradheep <pradheep.sh@gmail.com>

This patche removes the extra braces found in
drivers/staging/media/lirc/lirc_imon.c to fix the warning thrown by
checkpatch.pl

Signed-off-by: Pradheep Shrinivasan <pradheep.sh@gmail.com>
---
 drivers/staging/media/lirc/lirc_imon.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/staging/media/lirc/lirc_imon.c b/drivers/staging/media/lirc/lirc_imon.c
index 62ec9f7..05d47dc 100644
--- a/drivers/staging/media/lirc/lirc_imon.c
+++ b/drivers/staging/media/lirc/lirc_imon.c
@@ -785,13 +785,13 @@ static int imon_probe(struct usb_interface *interface,
 	}
 
 	driver = kzalloc(sizeof(struct lirc_driver), GFP_KERNEL);
-	if (!driver) {
+	if (!driver)
 		goto free_context;
-	}
+
 	rbuf = kmalloc(sizeof(struct lirc_buffer), GFP_KERNEL);
-	if (!rbuf) {
+	if (!rbuf)
 		goto free_driver;
-	}
+
 	if (lirc_buffer_init(rbuf, BUF_CHUNK_SIZE, BUF_SIZE)) {
 		dev_err(dev, "%s: lirc_buffer_init failed\n", __func__);
 		goto free_rbuf;
-- 
1.9.1


^ permalink raw reply related	[flat|nested] 6+ messages in thread
* [PATCH 1/2] staging: media: lirc Remove the extra braces in if statement of lirc_imon
@ 2015-08-05  5:14 Pradheep Shrinivasan
  2015-08-05  5:45 ` Sudip Mukherjee
  0 siblings, 1 reply; 6+ messages in thread
From: Pradheep Shrinivasan @ 2015-08-05  5:14 UTC (permalink / raw)
  To: Jarod Wilson, Mauro Carvalho Chehab, Greg Kroah-Hartman
  Cc: linux-media, devel, pradheep

From: pradheep <pradheep.sh@gmail.com>

This patche removes the extra braces found in
drivers/staging/media/lirc/lirc_imon.c to fix the warning thrown by
checkpatch.pl

Signed-off-by: Pradheep Shrinivasan <pradheep.sh@gmail.com>
---
 drivers/staging/media/lirc/lirc_imon.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/staging/media/lirc/lirc_imon.c b/drivers/staging/media/lirc/lirc_imon.c
index 62ec9f7..05d47dc 100644
--- a/drivers/staging/media/lirc/lirc_imon.c
+++ b/drivers/staging/media/lirc/lirc_imon.c
@@ -785,13 +785,13 @@ static int imon_probe(struct usb_interface *interface,
 	}
 
 	driver = kzalloc(sizeof(struct lirc_driver), GFP_KERNEL);
-	if (!driver) {
+	if (!driver)
 		goto free_context;
-	}
+
 	rbuf = kmalloc(sizeof(struct lirc_buffer), GFP_KERNEL);
-	if (!rbuf) {
+	if (!rbuf)
 		goto free_driver;
-	}
+
 	if (lirc_buffer_init(rbuf, BUF_CHUNK_SIZE, BUF_SIZE)) {
 		dev_err(dev, "%s: lirc_buffer_init failed\n", __func__);
 		goto free_rbuf;
-- 
1.9.1


^ permalink raw reply related	[flat|nested] 6+ messages in thread
* [PATCH 1/2] staging: media: lirc Remove the extra braces in if statement of lirc_imon
@ 2015-08-05  5:17 Pradheep Shrinivasan
  0 siblings, 0 replies; 6+ messages in thread
From: Pradheep Shrinivasan @ 2015-08-05  5:17 UTC (permalink / raw)
  To: Jarod Wilson, Mauro Carvalho Chehab, Greg Kroah-Hartman
  Cc: linux-media, devel, pradheep

From: pradheep <pradheep.sh@gmail.com>

This patche removes the extra braces found in
drivers/staging/media/lirc/lirc_imon.c to fix the warning thrown by
checkpatch.pl

Signed-off-by: Pradheep Shrinivasan <pradheep.sh@gmail.com>
---
 drivers/staging/media/lirc/lirc_imon.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/staging/media/lirc/lirc_imon.c b/drivers/staging/media/lirc/lirc_imon.c
index 62ec9f7..05d47dc 100644
--- a/drivers/staging/media/lirc/lirc_imon.c
+++ b/drivers/staging/media/lirc/lirc_imon.c
@@ -785,13 +785,13 @@ static int imon_probe(struct usb_interface *interface,
 	}
 
 	driver = kzalloc(sizeof(struct lirc_driver), GFP_KERNEL);
-	if (!driver) {
+	if (!driver)
 		goto free_context;
-	}
+
 	rbuf = kmalloc(sizeof(struct lirc_buffer), GFP_KERNEL);
-	if (!rbuf) {
+	if (!rbuf)
 		goto free_driver;
-	}
+
 	if (lirc_buffer_init(rbuf, BUF_CHUNK_SIZE, BUF_SIZE)) {
 		dev_err(dev, "%s: lirc_buffer_init failed\n", __func__);
 		goto free_rbuf;
-- 
1.9.1


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-08-05  5:45 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-03  7:56 [PATCH 1/2] staging:media:lirc Remove the extra braces in if statement of lirc_imon Pradheep Shrinivasan
2015-08-03  7:56 ` [PATCH 2/2] staging:media:lirc This fix changes the spaces to tab in lirc_sasem.c Pradheep Shrinivasan
2015-08-03  8:25 ` [PATCH 1/2] staging:media:lirc Remove the extra braces in if statement of lirc_imon Dan Carpenter
  -- strict thread matches above, loose matches on Subject: below --
2015-08-05  5:14 [PATCH 1/2] staging: media: lirc " Pradheep Shrinivasan
2015-08-05  5:45 ` Sudip Mukherjee
2015-08-05  5:17 Pradheep Shrinivasan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox