atge_attach() doesn't need to check for kmem_zalloc() success
smatch noticed that it's silly to check for a NULL from a KM_SLEEP allocation.
Updated by Electric Monk almost 2 years ago
- Status changed from New to Closed
- % Done changed from 0 to 100
commit 80e3e2368f7911a78a5f2f1a961052b37f3a76d0 Author: John Levon <email@example.com> Date: 2019-01-17T16:05:13.000Z 10087 atge_attach() doesn't need to check for kmem_zalloc() success Reviewed by: Robert Mustacchi <firstname.lastname@example.org> Approved by: Dan McDonald <email@example.com>