Commit d1044776 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab

media: cx25821: get rid of CX25821_VERSION_CODE

This is used just for printing a version number. As this is
never incremented, it makes no sense to keep it :-)
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
parent 1769e7a4
...@@ -1390,10 +1390,7 @@ static struct pci_driver cx25821_pci_driver = { ...@@ -1390,10 +1390,7 @@ static struct pci_driver cx25821_pci_driver = {
static int __init cx25821_init(void) static int __init cx25821_init(void)
{ {
pr_info("driver version %d.%d.%d loaded\n", pr_info("driver loaded\n");
(CX25821_VERSION_CODE >> 16) & 0xff,
(CX25821_VERSION_CODE >> 8) & 0xff,
CX25821_VERSION_CODE & 0xff);
return pci_register_driver(&cx25821_pci_driver); return pci_register_driver(&cx25821_pci_driver);
} }
......
...@@ -41,8 +41,6 @@ ...@@ -41,8 +41,6 @@
#include <linux/version.h> #include <linux/version.h>
#include <linux/mutex.h> #include <linux/mutex.h>
#define CX25821_VERSION_CODE KERNEL_VERSION(0, 0, 106)
#define UNSET (-1U) #define UNSET (-1U)
#define NO_SYNC_LINE (-1U) #define NO_SYNC_LINE (-1U)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment