From: Anastasia Lyupa Date: Thu, 28 Feb 2013 15:17:46 +0000 (+0400) Subject: optimization of pack_event_info X-Git-Tag: accepted/tizen/mobile/20160407.001200~784^2~2^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=41ae6c5ce6244f000ab10b8ca65f97ae206986d4;p=platform%2Fkernel%2Fswap-modules.git optimization of pack_event_info remove memset() from pack_task_event_info() --- diff --git a/driver/storage.c b/driver/storage.c index 5f770ef..393eb17 100644 --- a/driver/storage.c +++ b/driver/storage.c @@ -1117,10 +1117,6 @@ void pack_task_event_info(struct task_struct *task, probe_id_t probe_id, struct cond *p_cond; struct event_tmpl *p_tmpl; - spin_lock_irqsave(&ec_spinlock, spinlock_flags); - memset(buf, 0, EVENT_MAX_SIZE); - spin_unlock_irqrestore(&ec_spinlock, spinlock_flags); - do_gettimeofday (&tv); if (probe_id == KS_PROBE_ID) {