Project

General

Profile

Actions

Bug #6147

open

segop_getpolicy already checks for a NULL op

Added by Josef Sipek about 8 years ago.

Status:
New
Priority:
Normal
Assignee:
Category:
kernel
Start date:
2015-08-21
Due date:
% Done:

80%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:
External Bug:

Description

Since segop_getpolicy already handles a NULL getpolicy op function pointer (in which case it returns NULL):

  1. the callers don't have check for the op being NULL
  2. segment drivers don't need to provide a dummy function to unconditionally return NULL

No data to display

Actions

Also available in: Atom PDF