uprobes: Kill the unnecesary filp != NULL check in __copy_insn()
authorOleg Nesterov <oleg@redhat.com>
Sun, 24 Mar 2013 17:45:44 +0000 (18:45 +0100)
committerOleg Nesterov <oleg@redhat.com>
Thu, 4 Apr 2013 11:57:05 +0000 (13:57 +0200)
commit98763a1bb1515f8a8d7f1d9ae42604e19872364b
tree9ba213a12f30a94507a9bfdf68d8ef184f0ee056
parent2edb7b5574d447354202ba365fb8ca6a1bac1d1c
uprobes: Kill the unnecesary filp != NULL check in __copy_insn()

__copy_insn(filp) can only be called after valid_vma() returns T,
vma->vm_file passed as "filp" can not be NULL.

Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Acked-by: Anton Arapov <anton@redhat.com>
Acked-by: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
kernel/events/uprobes.c