aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/usb/template
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2015-06-01 06:50:39 +0000
committerDimitry Andric <dim@FreeBSD.org>2015-06-01 06:50:39 +0000
commit38954a1d1c8ec6aa248679718a2a85c6d6ffe029 (patch)
treecdcbccc49a968f860ca7708cd0a3b6e46ef4f95f /sys/dev/usb/template
parent9310c7d568363767c06ec1aa2255c313e70f54bc (diff)
downloadsrc-38954a1d1c8ec6aa248679718a2a85c6d6ffe029.tar.gz
src-38954a1d1c8ec6aa248679718a2a85c6d6ffe029.zip
Remove unneeded NULL checks in amd64's trap_fatal().
Since td_name is an array member of struct thread, it can never be NULL, so the check can be removed. In addition, curproc can never be NULL, so remove the if statement, and splice the two printfs() together. While here, remove the u_long cast, and use the correct printf format specifier curproc->p_pid. Reviewed by: kib MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D2695
Notes
Notes: svn path=/head/; revision=283870
Diffstat (limited to 'sys/dev/usb/template')
0 files changed, 0 insertions, 0 deletions