Skip to content
Commit 8a6d9b14 authored by Ferenc Wagner's avatar Ferenc Wagner Committed by Jens Axboe
Browse files

i2o: Remove the dangerous kobj_to_i2o_device macro



This macro worked only when applied to variables named 'kobj'.
While this could have been fixed by simply renaming the macro argument,
a more type-safe replacement by an inline function would be preferred.
However, nobody uses this macro, so it's simpler to just remove it.

Signed-off-by: default avatarFerenc Wagner <wferi@niif.hu>
Signed-off-by: default avatarJens Axboe <jens.axboe@oracle.com>
parent 181fdde3
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment