forked from osmocom/wireshark
Remove some unneeded lines of code.
svn path=/trunk/; revision=39526
This commit is contained in:
parent
cc63e81ecb
commit
5329e525d3
|
@ -161,9 +161,9 @@ fp_get_hmac_addr (guint64 hmac, guint16 *swid, guint16 *sswid, guint16 *lid) {
|
|||
return;
|
||||
}
|
||||
|
||||
*swid = (guint16) ((hmac & FP_HMAC_SWID_MASK) >> 24);
|
||||
*swid = (guint16) ((hmac & FP_HMAC_SWID_MASK) >> 24);
|
||||
*sswid = (guint16) ((hmac & FP_HMAC_SSWID_MASK) >> 16);
|
||||
*lid = (guint16) (hmac & FP_HMAC_LID_MASK);
|
||||
*lid = (guint16) (hmac & FP_HMAC_LID_MASK);
|
||||
}
|
||||
|
||||
static void
|
||||
|
@ -175,10 +175,6 @@ fp_add_hmac (tvbuff_t *tvb, proto_tree *tree, int offset) {
|
|||
return;
|
||||
}
|
||||
|
||||
if (!tvb || !tree) {
|
||||
return;
|
||||
}
|
||||
|
||||
eid = tvb_get_ntohs(tvb, offset);
|
||||
|
||||
eid &= FP_EID_MASK;
|
||||
|
|
Loading…
Reference in New Issue