OSDN Git Service

Promote _make_hd_dn() to make_hd_dn() and get rid of the wrapper.
authorPeter Jones <pjones@redhat.com>
Tue, 12 Jun 2018 18:36:20 +0000 (14:36 -0400)
committerPeter Jones <pjones@redhat.com>
Tue, 12 Jun 2018 18:36:20 +0000 (14:36 -0400)
commitbd8fc0ebe86da82468b40a4998c3000819e73afe
tree573b4790ea106aaa1cb61366eab6c370be913dc5
parent4becb1303fee8bd7b377292c74589d6ec69009ae
Promote _make_hd_dn() to make_hd_dn() and get rid of the wrapper.

The wrapper is just hiding what the code's doing, and all the other code
around where we use it does the same thing anyway.  This hopefully
convinces coverity we're not really dereferencing "buf" there unless
it's nonzero.

Signed-off-by: Peter Jones <pjones@redhat.com>
src/creator.c
src/disk.c
src/disk.h
src/dp-media.c