Bug #10087
closed
atge_attach() doesn't need to check for kmem_zalloc() success
Added by John Levon almost 5 years ago.
Updated almost 5 years ago.
Description
smatch noticed that it's silly to check for a NULL from a KM_SLEEP allocation.
- Status changed from New to Closed
- % Done changed from 0 to 100
git commit 80e3e2368f7911a78a5f2f1a961052b37f3a76d0
commit 80e3e2368f7911a78a5f2f1a961052b37f3a76d0
Author: John Levon <john.levon@joyent.com>
Date: 2019-01-17T16:05:13.000Z
10087 atge_attach() doesn't need to check for kmem_zalloc() success
Reviewed by: Robert Mustacchi <rm@joyent.com>
Approved by: Dan McDonald <danmcd@joyent.com>
Also available in: Atom
PDF