]> xenbits.xensource.com Git - xen.git/commit
sched/credit: Remove redundant assignments from alloc_* functions
authorAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 13 Sep 2013 12:30:02 +0000 (14:30 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 13 Sep 2013 12:30:02 +0000 (14:30 +0200)
commit4c57b3fbdf2706a9441680cdae652c959b40dffe
treeac89d429c880b77f5d7715585a9bfcfcfda9a328
parentc71a3e6d83fb6d03eeae8df08eafd4ea02d9e278
sched/credit: Remove redundant assignments from alloc_* functions

Noticed because Coverity was complaining at the atomic_set(), but because of
the use of xzalloc(), these assignments of 0 are completely redundent.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: George Dunlap <george.dunlap@eu.citrix.com>
xen/common/sched_credit.c