summaryrefslogtreecommitdiffstats
path: root/sys/modules/usb/template/Makefile
diff options
context:
space:
mode:
authordim <dim@FreeBSD.org>2015-06-01 06:50:39 +0000
committerdim <dim@FreeBSD.org>2015-06-01 06:50:39 +0000
commit2474a7a0d8a20e46cb41b5752822e3856e1f3bfb (patch)
treecdcbccc49a968f860ca7708cd0a3b6e46ef4f95f /sys/modules/usb/template/Makefile
parent3f5fa5a6f7316c1633b4df6b94f9204e57e8d1b9 (diff)
downloadFreeBSD-src-2474a7a0d8a20e46cb41b5752822e3856e1f3bfb.zip
FreeBSD-src-2474a7a0d8a20e46cb41b5752822e3856e1f3bfb.tar.gz
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
Diffstat (limited to 'sys/modules/usb/template/Makefile')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud