i2o: Remove the dangerous kobj_to_i2o_device macro
authorFerenc Wagner <wferi@niif.hu>
Wed, 24 Mar 2010 07:20:03 +0000 (08:20 +0100)
committerJens Axboe <jens.axboe@oracle.com>
Wed, 24 Mar 2010 07:20:03 +0000 (08:20 +0100)
commit8a6d9b149f105f8bdfa8e42dd9753e45a1887a16
tree00a38bf2ed2fa262e983b0db89d177f705600801
parent181fdde3b4268cb7b4af76ba6337e7ec8accbb36
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: Ferenc Wagner <wferi@niif.hu>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
include/linux/i2o.h