From: Vatika Harlalka <vatikaharlalka@gmail.com>
To: outreachy-kernel@googlegroups.com
Subject: [PATCH] Staging: media: Remove unneeded log macro
Date: Fri, 20 Feb 2015 04:04:12 +0530 [thread overview]
Message-ID: <20150219223412.GA1134@gmail.com> (raw)
This patch is to remove unneeded log macros which only
indicate entry/exit from a function. The kernel provides
mechanisms for function tracing so these can be dropped.
Signed-off-by: Vatika Harlalka <vatikaharlalka@gmail.com>
---
drivers/staging/media/tlg2300/pd-main.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/staging/media/tlg2300/pd-main.c b/drivers/staging/media/tlg2300/pd-main.c
index b31f479..c2dd3b4 100644
--- a/drivers/staging/media/tlg2300/pd-main.c
+++ b/drivers/staging/media/tlg2300/pd-main.c
@@ -207,7 +207,6 @@ void poseidon_delete(struct kref *kref)
pd->interface = NULL;
}
kfree(pd);
- log();
}
static int firmware_download(struct usb_device *udev)
@@ -538,7 +537,6 @@ static int __init poseidon_init(void)
static void __exit poseidon_exit(void)
{
- log();
unregister_pm_notifier(&pm_notifer);
usb_deregister(&poseidon_driver);
}
--
1.9.1
next reply other threads:[~2015-02-19 22:34 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-19 22:34 Vatika Harlalka [this message]
2015-02-20 9:04 ` [Outreachy kernel] [PATCH] Staging: media: Remove unneeded log macro Arnd Bergmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150219223412.GA1134@gmail.com \
--to=vatikaharlalka@gmail.com \
--cc=outreachy-kernel@googlegroups.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.