]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
[POWERPC] spufs: Get rid of spufs_coredump_num_notes, it's not needed if we NULL...
authorMichael Ellerman <michael@ellerman.id.au>
Wed, 19 Sep 2007 04:38:12 +0000 (14:38 +1000)
committerPaul Mackerras <paulus@samba.org>
Wed, 19 Sep 2007 05:12:18 +0000 (15:12 +1000)
commit936d5bf1d7dc69c56bf79ad68819e597307a1884
tree44ddc4a6785cb1f5a9c7387ff8d97c6881517de0
parentc1a72173ab156306666cb531f891f32e4e21d592
[POWERPC] spufs: Get rid of spufs_coredump_num_notes, it's not needed if we NULL terminate

The spufs_coredump_read array is NULL terminated, and we also store the size.
We only need one or the other, and the other arrays in file.c are NULL
terminated, so do that.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/cell/spufs/coredump.c
arch/powerpc/platforms/cell/spufs/file.c