This is an automatic generated email to let you know that the following patch 
were queued at the 
http://git.linuxtv.org/cgit.cgi/media_tree.git tree:

Subject: [media] media-device.h: fix compiler warning
Author:  Hans Verkuil <[email protected]>
Date:    Fri Feb 26 04:44:35 2016 -0300

Fix these compiler warnings:

media-git/include/media/media-device.h: In function 'media_device_pci_init':
media-git/include/media/media-device.h:610:9: warning: 'return' with a value, 
in function returning void
  return NULL;
         ^
media-git/include/media/media-device.h: In function '__media_device_usb_init':
media-git/include/media/media-device.h:618:9: warning: 'return' with a value, 
in function returning void
  return NULL;
         ^

Signed-off-by: Hans Verkuil <[email protected]>
Reviewed-by: Laurent Pinchart <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>

 include/media/media-device.h | 2 --
 1 file changed, 2 deletions(-)

---

http://git.linuxtv.org/cgit.cgi/media_tree.git/commit/?id=697fe725f37aaa5fb15f581bc6e5b588f5fc8f7b
diff --git a/include/media/media-device.h b/include/media/media-device.h
index 0b946a895c3a..32bbba7d8115 100644
--- a/include/media/media-device.h
+++ b/include/media/media-device.h
@@ -693,7 +693,6 @@ static inline void media_device_pci_init(struct 
media_device *mdev,
                                         struct pci_dev *pci_dev,
                                         char *name)
 {
-       return NULL;
 }
 
 static inline void __media_device_usb_init(struct media_device *mdev,
@@ -701,7 +700,6 @@ static inline void __media_device_usb_init(struct 
media_device *mdev,
                                           char *board_name,
                                           char *driver_name)
 {
-       return NULL;
 }
 
 #endif /* CONFIG_MEDIA_CONTROLLER */

_______________________________________________
linuxtv-commits mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to