watchdog: xen_wdt: remove info message and version number
The initial info message (early in the xen_wdt_init_module() function) is not very useful and we already have a message on successful probe. If the probe fails, additional messages are printed anyway. The version number serves no useful purpose and it ran out of favor upstream anyway. Signed-off-by: Radu Rendec <rrendec@arista.com> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
This commit is contained in:
parent
18cffd68e0
commit
c41fe7cdbd
|
@ -10,7 +10,6 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define DRV_NAME "xen_wdt"
|
#define DRV_NAME "xen_wdt"
|
||||||
#define DRV_VERSION "0.01"
|
|
||||||
|
|
||||||
#include <linux/bug.h>
|
#include <linux/bug.h>
|
||||||
#include <linux/errno.h>
|
#include <linux/errno.h>
|
||||||
|
@ -189,8 +188,6 @@ static int __init xen_wdt_init_module(void)
|
||||||
if (!xen_domain())
|
if (!xen_domain())
|
||||||
return -ENODEV;
|
return -ENODEV;
|
||||||
|
|
||||||
pr_info("Xen WatchDog Timer Driver v%s\n", DRV_VERSION);
|
|
||||||
|
|
||||||
err = platform_driver_register(&xen_wdt_driver);
|
err = platform_driver_register(&xen_wdt_driver);
|
||||||
if (err)
|
if (err)
|
||||||
return err;
|
return err;
|
||||||
|
@ -216,5 +213,4 @@ module_exit(xen_wdt_cleanup_module);
|
||||||
|
|
||||||
MODULE_AUTHOR("Jan Beulich <jbeulich@novell.com>");
|
MODULE_AUTHOR("Jan Beulich <jbeulich@novell.com>");
|
||||||
MODULE_DESCRIPTION("Xen WatchDog Timer Driver");
|
MODULE_DESCRIPTION("Xen WatchDog Timer Driver");
|
||||||
MODULE_VERSION(DRV_VERSION);
|
|
||||||
MODULE_LICENSE("GPL");
|
MODULE_LICENSE("GPL");
|
||||||
|
|
Loading…
Reference in New Issue