]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
V4L/DVB (8289): sms1xxx: remove #if LINUX_VERSION_CODE checks
authorMichael Krufky <mkrufky@linuxtv.org>
Sun, 15 Jun 2008 22:39:55 +0000 (19:39 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Sun, 20 Jul 2008 10:22:12 +0000 (07:22 -0300)
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/dvb/siano/smscoreapi.c
drivers/media/dvb/siano/smscoreapi.h

index 89fb5a73fc6ff6d9b7bbf2b8b6b8bc24ab6b3e23..6b9f512a357d6adaa1007dd18cd6e168efa82b46 100644 (file)
@@ -200,7 +200,6 @@ void smscore_registry_settype(char *devpath, enum sms_device_type_st type)
 }
 
 
-
 void list_add_locked(struct list_head *new, struct list_head *head,
                     spinlock_t *lock)
 {
@@ -592,7 +591,6 @@ int smscore_load_firmware_from_file(struct smscore_device_t *coredev,
                                    loadfirmware_t loadfirmware_handler)
 {
        int rc = -ENOENT;
-
        const struct firmware *fw;
        u8 *fw_buffer;
 
@@ -1228,8 +1226,7 @@ int smscore_map_common_buffer(struct smscore_device_t *coredev,
 
        if (remap_pfn_range(vma, start,
                            coredev->common_buffer_phys >> PAGE_SHIFT,
-                           size, pgprot_noncached(vma->vm_page_prot)))
-       {
+                           size, pgprot_noncached(vma->vm_page_prot))) {
                printk(KERN_INFO "%s remap_page_range failed\n", __func__);
                return -EAGAIN;
        }
index be98baf3085eb03c56406a3cb216ccdd8da8f483..355c22b1d1583605f0d941f5a6222f8870fa1d2b 100644 (file)
@@ -43,7 +43,6 @@ typedef struct mutex kmutex_t;
 #define kmutex_trylock(_p_) mutex_trylock(_p_)
 #define kmutex_unlock(_p_) mutex_unlock(_p_)
 
-
 #ifndef min
 #define min(a, b) (((a) < (b)) ? (a) : (b))
 #endif