Daniele Venzano wrote:
Removed double printing of version string in module_init and in sis900_probe
@@ -390,13 +390,6 @@
char *card_name = card_names[pci_id->driver_data];
-/* when built into the kernel, we only print version if device is found */
- static int printed_version;
- if (!printed_version++)
/* setup various bits in PCI command register */
ret = pci_enable_device(pci_dev);
if(ret) return ret;
There is no double-printing. One is #ifndef MODULE, one is #ifdef MODULE.
Did you read the comment included in the code you deleted???