net/tap: Replace tap-haiku.c and tap-aix.c by a generic tap-stub.c
commit4348300e751df1cd24810fb5f699f1f85bbc2849
authorThomas Huth <thuth@redhat.com>
Mon, 3 Apr 2017 12:05:16 +0000 (3 14:05 +0200)
committerJason Wang <jasowang@redhat.com>
Tue, 23 May 2017 02:10:38 +0000 (23 10:10 +0800)
tree3931eba2e46dc27341aade0160029ad490f75829
parent56821559f0ba682fe6b367815572e6f974d329ab
net/tap: Replace tap-haiku.c and tap-aix.c by a generic tap-stub.c

The files tap-haiku.c and tap-aix.c are identical (except one line
of error message). We should avoid such code duplication, so replace
these by a generic tap-stub.c file instead.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Jason Wang <jasowang@redhat.com>
net/Makefile.objs
net/tap-haiku.c [deleted file]
net/tap-stub.c [moved from net/tap-aix.c with 97% similarity]