+7
−9
+1
−1
+1
−1
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
The use of kmemdup() complicates the error handling a bit. We don't actually need to allocate new memory, since this reference is treated as const, and it is copied into new memory by the partition registration code anyway. So remove it. Signed-off-by:Brian Norris <computersforpeace@gmail.com> Reviewed-by:
Boris Brezillon <boris.brezillon@free-electrons.com>