Skip to contentSkip to conversation

Staging: comedi: drivers.c: fixed braces coding style issue.

PATCH In review Dustan Bower 2 participants 2 messages Feb 18, 2011 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Staging: comedi: drivers.c: fixed braces coding style issue.

Fixed coding style issue.

---
 drivers/staging/comedi/drivers.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
drivers/staging/comedi/drivers.c +1 -2
index dca861e..f8b91b7 100644
@@ -471,9 +471,8 @@ int comedi_buf_alloc(struct comedi_device *dev, struct comedi_subdevice *s,
 
 		async->buf_page_list =
 		    vzalloc(sizeof(struct comedi_buf_page) * n_pages);
-		if (async->buf_page_list) {
+		if (async->buf_page_list)
 			pages = vmalloc(sizeof(struct page *) * n_pages);
-		}
 		if (pages) {
 			for (i = 0; i < n_pages; i++) {
 				if (s->async_dma_dir != DMA_NONE) {
Signature · 1 line
1.7.4.1
#1 lore raw
Quoted 6 lines · Dustan Bower

Fixed coding style issue.

---
 drivers/staging/comedi/drivers.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

This patch doesn't apply to the linux-next tree, can you please redo it against that one?

thanks,

greg k-h