FIXME in bayer lib, Revert "Fix pthread_getattr_np, pthread_attr_setguardsize, and pthread_attr_setstacksize."

This reverts commit b95cf0d23a1db3b7c37bd98b0c86196796c9b029.
remove unused variable