Permalink
Browse files

remove obsolete guard

  • Loading branch information...
1 parent d784a74 commit 2d7f6fcd7d8419813827ce2df1a791b2ca2c2c04 Andreas Schultz committed Aug 15, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/netlink.erl
View
@@ -664,7 +664,7 @@ sockaddr_nl({Family, Pid, Groups}) when is_atom(Family) ->
sockaddr_nl({gen_socket:family(Family), Pid, Groups});
sockaddr_nl({Family, Pid, Groups}) ->
<< Family:8, 0:8, Pid:32, Groups:32 >>;
-sockaddr_nl(<< Family:8, _Pad:8, Pid:32, Groups:32 >> = Bin) when is_binary(Bin) ->
+sockaddr_nl(<< Family:8, _Pad:8, Pid:32, Groups:32 >>) ->
{gen_socket:family(Family), Pid, Groups}.
setsockoption(Socket, Level, OptName, Val) when is_atom(Level) ->

0 comments on commit 2d7f6fc

Please sign in to comment.