Project

General

Profile

Bug #10087

atge_attach() doesn't need to check for kmem_zalloc() success

Added by John Levon 12 months ago. Updated 11 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Start date:
2018-12-19
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage

Description

smatch noticed that it's silly to check for a NULL from a KM_SLEEP allocation.

History

#1

Updated by Electric Monk 11 months ago

  • % Done changed from 0 to 100
  • Status changed from New to Closed

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